using System.ComponentModel.DataAnnotations.Schema;

namespace QuanLyThuPhiTaiLieu.Entity
{
    [Table("DanhMucChiTiet")]
    public class DanhMucChiTiet
    {
        public int Id { get; set; }

        [Column("DanhMucId")]         
        public int Sbq { get; set; }

        [Column("KHN")]         
        public string Khn { get; set; }

        [Column("SDVBQ")]         
        public string Sdvbq { get; set; }

        [Column("TPTL")]         
        public string Tptl { get; set; }

        [Column("KH")]         
        public string Kh { get; set; }

        public int? Trang { get; set; }

        public int? Anh { get; set; }

        public int? Hinh { get; set; }

        public int? Ban { get; set; }

        public int? Manh { get; set; }

        public string Can { get; set; }

        public string PhanLoai { get; set; }

        [NotMapped]
        public string SbqValue { get; set; }
    }

    public class DanhMucChiTietInfo
    {
        public int Id { get; set; }

        public int Sbq { get; set; }

        public string Khn { get; set; }

        public string Sdvbq { get; set; }

        public string Tptl { get; set; }

        public string Kh { get; set; }

        public int? Trang { get; set; }

        public int? Anh { get; set; }

        public int? Hinh { get; set; }

        public int? Ban { get; set; }

        public int? Manh { get; set; }

        public string Can { get; set; }

        public string PhanLoai { get; set; }

        public string SbqValue { get; set; }
    }
}
